package com.desay.pangoo.itmt.controller.vo;

import java.util.Objects;

import io.swagger.annotations.ApiModel;
import lombok.Data;

/**
 * @author uidq1163
 */
@ApiModel(value = "技术评审月度推移")
@Data
public class TechOnlineReviewMonthVo {

	private String yearMonth;
	private Integer type;
	private Boolean isPassed;
	private Integer count;

	@Override
	public boolean equals(Object obj) {
		if (this == obj) {
			return true;
		}
		if (obj == null) {
			return false;
		}
		if (getClass() != obj.getClass()) {
			return false;
		}
		TechOnlineReviewMonthVo other = (TechOnlineReviewMonthVo) obj;
		return Objects.equals(isPassed, other.isPassed) && Objects.equals(type, other.type)
				&& Objects.equals(yearMonth, other.yearMonth);
	}

	@Override
	public int hashCode() {
		return Objects.hash(isPassed, type, yearMonth);
	}

}
